﻿
namespace CmdArgs.Utils
{
    using System.Collections.Generic;
    using System.Linq;

    internal static class IEnumerableExtensions
    {
        /// <summary>
        /// Provides convenience method for copying IEnumerables.
        /// </summary>
        internal static IEnumerable<T> Copy<T>(this IEnumerable<T> source)
        {
            return source.ToArray();
        }
    }
}
